@layout("/common/_container.html",{bg:"bg-white",js:["/assets/modular/system/cabinet/cabinetSub_edit.js"]}){
<form id="cabinetSubEditForm" lay-filter="cabinetSubEditForm" class="layui-form model-form">
   <input name="id" type="hidden"/>
    <div class="layui-form-item">
        <label class="layui-form-label">所属机柜<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input id="parentId" name="parentId" placeholder="请输入所属机柜" type="text" class="layui-input" lay-verify="required" required readonly="readonly"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">箱子编号<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input name="subNum" placeholder="请输入编号" type="number" class="layui-input" lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">大或小<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <select id="bigOrSmall" name="bigOrSmall" lay-filter="aihao">
		        <option value="1">小</option>
		        <option value="2">大</option>
		      </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">是否使用<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <select id="isUse" name="isUse" lay-filter="aihao">
		        <option value="0">否</option>
		        <option value="1">是</option>
		      </select>
        </div>
    </div>
    <div class="layui-form-item text-right">
        <button class="layui-btn layui-btn-primary" type="button" ew-event="closeDialog">取消</button>
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>保存</button>
    </div>
</form>
@}
